#include <stdio.h>
#include <unistd.h>
int main(){
    char    *arglist[3];
        char*myenv[3];
	    myenv[0] = "PATH=:/bin:";
	        myenv[1] = NULL;
		    arglist[0] = "ls";
		        arglist[1] = "-l";
			    arglist[2] = 0 ;
			        printf("* * * About to exec ls -l\n");
				    execlp("ls", "ls", "-l", NULL);
				        printf("* * * ls is done. bye\n");
					}
